package cn.com.yiqi.wsc.dao.org;

import cn.com.artemis.framework.base.commons.persistence.CrudDao;
import cn.com.yiqi.wsc.dao.org.criteria.AdminOrgCriteria;
import cn.com.yiqi.wsc.entity.org.OrgLinkEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 何刚
 * @ClassName: ${class}
 * @Description: TODO
 * @date 2017/2/24
 */
@Repository
public interface OrgLinkDao extends CrudDao<OrgLinkEntity> {

    List<OrgLinkEntity> getOrgLinkListByOrgId(AdminOrgCriteria criteria);

   int  updateLinkByOrgId(OrgLinkEntity orgLinkEntity);
}
